package com.own.business.level.entity.query;

import com.own.component.common.base.entity.BaseQuery;
import com.own.constant.ConstantBeanSuffix;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.time.LocalDate;

/**
 * LevelUserHistoryQuery
 *
 * @author chenxueli
 * @date 2022-07-25 10:13:00
 */
@Schema(title = "用户经验获取流水" + ConstantBeanSuffix.QUERY)
@Getter
@Setter
@ToString
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class LevelUserHistoryQuery extends BaseQuery {

    @Schema(title = "用户id")
    private Long fkUserId;

    @Schema(title = "操作前经验")
    private Integer beforeExp;

    @Schema(title = "操作后经验")
    private Integer afterExp;

    @Schema(title = "获得的经验")
    private Integer exp;

    @Schema(title = "经验信息描述")
    private String content;

    @Schema(title = "经验类型")
    private String type;

    @Schema(title = "操作的日期")
    private LocalDate operateDate;

    @Schema(title = "连续次数")
    private Integer consecutive;

}
